home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / KSLIB11.ARJ / STDINC.H < prev    next >
Text File  |  1991-08-15  |  1KB  |  68 lines

  1. #define TICKSPERSEC    18
  2.  
  3. #define FALSE        0
  4. #define TRUE        1
  5.  
  6. #define NO            0
  7. #define YES            1
  8.  
  9. #define OFF            0
  10. #define ON            1
  11.  
  12. #define BELL        7
  13. #define BACKSP        8
  14. #define TAB            9
  15. #define LINEFEED    10
  16. #define FORMFEED    12
  17. #define RETURN        13
  18. #define XON            17
  19. #define XOFF        19
  20. #define ESCAPE        27
  21. #define SPACE        32
  22. #define CBACKSP        127
  23.  
  24. #if !defined(__COLORS)
  25.     #define __COLORS
  26.  
  27.     enum COLORS {
  28.         BLACK,        /* dark colors */
  29.         BLUE,
  30.         GREEN,
  31.         CYAN,
  32.         RED,
  33.         MAGENTA,
  34.         BROWN,
  35.         LIGHTGRAY,
  36.         DARKGRAY,    /* light colors (Blinking if specified as background)    */
  37.         LIGHTBLUE,
  38.         LIGHTGREEN,
  39.         LIGHTCYAN,
  40.         LIGHTRED,
  41.         LIGHTMAGENTA,
  42.         YELLOW,
  43.         WHITE
  44.     };
  45.  
  46. #endif
  47.  
  48. #define LIGHTGREY    LIGHTGRAY
  49. #define DARKGREY    DARKGRAY
  50.  
  51. #define    makenul(var) (var)[0] = '\0'
  52.  
  53. typedef unsigned int    uint;
  54. typedef unsigned char    uchar;
  55. typedef unsigned char    byte;
  56. typedef unsigned long    ulong;
  57.  
  58. /*
  59. *    Define names for specific length integers.
  60. */
  61.  
  62. typedef char                int8;
  63. typedef int                    int16;
  64. typedef long int            int32;
  65. typedef unsigned char        uint8;
  66. typedef unsigned int        uint16;
  67. typedef unsigned long int    uint32;
  68.